package com.youlu.campus.entity.platform;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 公众号订阅配置开关，代替阿婆罗配置
 */
@Getter
@Setter
@Document(collection = "platform_sub_configure")
public class PlatformSubConfigure extends EntityBase {
    @Indexed
    private String appId;
    /**
     * 模板消息ID
     */
    private String templateIds;

    /**
     * true 打开订阅 false 关闭
     */
    private Boolean subOpen = Boolean.FALSE;
    /**
     * 是否可用
     */
    private Boolean enable = Boolean.FALSE;
}
